package com.prince.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WangPeiXi
 * @date 2021-4-7
 *
 */
public class User implements Serializable {
    /** 主键id */
    private Integer id;

    /** 角色id */
    private Integer roleId;

    /** 用户类型（0.系统管理员 1,员工 2.商户 3.代理商） */
    private String belongType;

    /** 操作人(真实姓名，昵称) */
    private String linkman;

    /** 注册手机号 */
    private String phone;

    /** 登录名 */
    private String loginName;

    /** 登录密码 */
    private String pwd;

    /** 登录失败次数 */
    private Integer loginFail;

    /** 最后一次登录失败时间 */
    private Date lastLoginFailTime;

    /** 最后一次成功登入时间 */
    private Date lastLoginTime;

    /** 最后一次登入ip */
    private String lastLoginIp;

    /** 注册时间 */
    private Date created;

    /** 修改时间 */
    private Date updated;

    /** 状态 0:停用 1:启用  */
    private String status;

    /** 备注 */
    private String remark;

    /** 描述 */
    private String described;

    /**  */
    private Integer parentId;

    /** 加密串 */
    private String des;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getBelongType() {
        return belongType;
    }

    public void setBelongType(String belongType) {
        this.belongType = belongType;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getLoginFail() {
        return loginFail;
    }

    public void setLoginFail(Integer loginFail) {
        this.loginFail = loginFail;
    }

    public Date getLastLoginFailTime() {
        return lastLoginFailTime;
    }

    public void setLastLoginFailTime(Date lastLoginFailTime) {
        this.lastLoginFailTime = lastLoginFailTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDescribed() {
        return described;
    }

    public void setDescribed(String described) {
        this.described = described;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }
}